package com.iflytek.exam.dto;


import java.util.Arrays;

public class ChoiceCheckedDTO extends ChoiceDTO{
    /**
     * 返回考试试题的时候置空
     */
    private String[] answer;
    /**
     * 返回考试试题的时候置空
     */
    private String answerAnalysis;
    /**
     * 返回考试试题的时候置空
     */
    private String analysisImg;

    /**
     * 学生选中的答案
     */
    private String[] selectedAnswer;

    public String[] getAnswer() {
        return answer;
    }

    public void setAnswer(String[] answer) {
        this.answer = answer;
    }

    public String getAnswerAnalysis() {
        return answerAnalysis;
    }

    public void setAnswerAnalysis(String answerAnalysis) {
        this.answerAnalysis = answerAnalysis;
    }

    public String getAnalysisImg() {
        return analysisImg;
    }

    public void setAnalysisImg(String analysisImg) {
        this.analysisImg = analysisImg;
    }

    public String[] getSelectedAnswer() {
        return selectedAnswer;
    }

    public void setSelectedAnswer(String[] selectedAnswer) {
        this.selectedAnswer = selectedAnswer;
    }

    @Override
    public String toString() {
        return "ChoiceCheckedDTO{" +
                "answer=" + Arrays.toString(answer) +
                ", answerAnalysis='" + answerAnalysis + '\'' +
                ", analysisImg='" + analysisImg + '\'' +
                ", selectedAnswer=" + Arrays.toString(selectedAnswer) +
                '}';
    }
}
